package com.freak.neteasecloudmusic.modules.find.recommend.songlist.fragment.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.freak.neteasecloudmusic.modules.find.recommend.songlist.fragment.adapter.SongListFragmentAdapter;

import java.util.List;

public class RecommendEntity {


    /**
     * hasTaste : false
     * code : 200
     * category : 0
     * result : [{"id":2954167665,"type":0,"name":"恋恋影像册丨怦然心动的恋语哼唱","copywriter":"编辑推荐：偶尔一点小浪漫、小感动，就心满意足吧~","picUrl":"https://p1.music.126.net/sgtO7Rw6QYbxCFQYRjSgBQ==/109951164554615049.jpg","canDislike":false,"trackNumberUpdateTime":1566707520873,"playCount":608049,"trackCount":37,"highQuality":false,"alg":"featured"},{"id":3221196739,"type":0,"name":"阳和启蛰丨冬日的梦会在春天绽放","copywriter":"编辑推荐：一候桃始华；二候仓庚鸣；三候鹰化为鸠。","picUrl":"https://p1.music.126.net/1FhBeumIGRN1VjnJsC2nuQ==/109951164674062462.jpg","canDislike":false,"trackNumberUpdateTime":1583379898161,"playCount":219192,"trackCount":50,"highQuality":false,"alg":"featured"},{"id":607130398,"type":0,"name":"UyGuR ♬ 维吾尔","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/KFnzNyrQsOqe3AMDahQItA==/109951164676708078.jpg","canDislike":true,"trackNumberUpdateTime":1583337470643,"playCount":2030515,"trackCount":707,"highQuality":false,"alg":"cityLevel_A"},{"id":3084306961,"type":0,"name":"台剧 | 想见你 电视原声带","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/xnKAyqxuPkEyFkaFnOHS8w==/109951164671618216.jpg","canDislike":true,"trackNumberUpdateTime":1583418570289,"playCount":1730936,"trackCount":23,"highQuality":false,"alg":"cityLevel_A"},{"id":2719385392,"type":0,"name":"《陈情令》歌曲全收录","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/2KznZJlHqhbmpdRAZ18oDA==/109951164742110795.jpg","canDislike":true,"trackNumberUpdateTime":1583235150804,"playCount":3570987,"trackCount":32,"highQuality":false,"alg":"cityLevel_A"},{"id":2482210411,"type":0,"name":"那些听一遍就喜欢的歌","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/R61ZF0gTfd6fuVc41oo5Lg==/109951164286019220.jpg","canDislike":true,"trackNumberUpdateTime":1582993505573,"playCount":20242850,"trackCount":167,"highQuality":false,"alg":"cityLevel_A"},{"id":3006398457,"type":0,"name":"那个说爱你一辈子的人 现在还在你身边吗","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/4T5Q3F9n-AngI39Uh7AH_g==/109951164399406487.jpg","canDislike":true,"trackNumberUpdateTime":1582167666814,"playCount":55057632,"trackCount":50,"highQuality":false,"alg":"cityLevel_A"},{"id":2618915549,"type":0,"name":"你搜不到的土嗨神曲","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/_ldY-Tf5dCIubyyeATSrdA==/109951164322846413.jpg","canDislike":true,"trackNumberUpdateTime":1583369148596,"playCount":20075262,"trackCount":119,"highQuality":false,"alg":"cityLevel_A"},{"id":2250226882,"type":0,"name":"我的情绪是一个小朋友你能照顾她吗","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/NjVEZ2dU7K67QY1PqhekbA==/109951164485559279.jpg","canDislike":true,"trackNumberUpdateTime":1583339614095,"playCount":229986,"trackCount":335,"highQuality":false,"alg":"cityLevel_A"},{"id":2671145804,"type":0,"name":"高考百日冲刺：乾坤未定，你我皆是黑马","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/a4qCDQjCjPmpz1EXZGYEhg==/109951163869221016.jpg","canDislike":true,"trackNumberUpdateTime":1583139261058,"playCount":3487319,"trackCount":43,"highQuality":false,"alg":"cityLevel_A"},{"id":863744119,"type":0,"name":"200首好听的翻唱","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/p8UsKXA-qjfYuicFEZ_bbw==/109951163822176249.jpg","canDislike":true,"trackNumberUpdateTime":1583330707761,"playCount":113415408,"trackCount":221,"highQuality":false,"alg":"cityLevel_A"},{"id":3030159862,"type":0,"name":"从前我爱过他，他有时也爱过我","copywriter":"热门推荐","picUrl":"https://p1.music.126.net/kRI09OtJjcycsL5eQcPx_w==/109951164484200944.jpg","canDislike":true,"trackNumberUpdateTime":1574047733999,"playCount":6685644,"trackCount":38,"highQuality":false,"alg":"cityLevel_A"},{"id":2656408838,"type":0,"name":"精选 翻唱cover","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/04ga-I3ITHza52GFWytjvQ==/109951164737577898.jpg","canDislike":true,"trackNumberUpdateTime":1583267731893,"playCount":1163182,"trackCount":239,"highQuality":false,"alg":"cityLevel_A"},{"id":310970433,"type":0,"name":"【旋律控】超级好听的欧美良曲","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/2MsstS-M9w5-li0aRy3sUQ==/1380986606815861.jpg","canDislike":true,"trackNumberUpdateTime":1554649190002,"playCount":354861568,"trackCount":363,"highQuality":false,"alg":"cityLevel_A"},{"id":2759414040,"type":0,"name":"寄给2020年未来女朋友甜甜的歌单","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/X-oZE9E--kauT2tpUwijzQ==/109951164005968547.jpg","canDislike":true,"trackNumberUpdateTime":1583365344436,"playCount":19124008,"trackCount":73,"highQuality":false,"alg":"cityLevel_A"},{"id":2392244044,"type":0,"name":"最全网络热歌分享.\u2016精心制作.","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/Q4Z1knnW76dzPNQyMLZI0Q==/109951164103404301.jpg","canDislike":true,"trackNumberUpdateTime":1583386122418,"playCount":8388037,"trackCount":306,"highQuality":false,"alg":"cityLevel_A"},{"id":2829920189,"type":0,"name":"[韩系私人订制] 最懂你的韩系推荐 每日更新35首","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/9PeBTS0QmjB7B_pJUFnz-A==/109951164614296928.jpg","canDislike":true,"trackNumberUpdateTime":1583445600000,"playCount":12861974,"trackCount":35,"highQuality":false,"alg":"cityLevel_A"},{"id":2524995367,"type":0,"name":"夏帕艾提吾斯曼","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/QDkB0RFctuILf8SomBarHw==/109951164513031854.jpg","canDislike":true,"trackNumberUpdateTime":1582812612178,"playCount":1064745,"trackCount":17,"highQuality":false,"alg":"cityLevel_A"},{"id":2520739691,"type":0,"name":"纯音乐 解压 看书 刷题 睡觉 御用","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/9R7PD9p03LLxykyibHiKEw==/109951163804524121.jpg","canDislike":true,"trackNumberUpdateTime":1581771425453,"playCount":48192904,"trackCount":107,"highQuality":false,"alg":"cityLevel_A"},{"id":2579172113,"type":0,"name":"【睡前必听】温柔宝藏男孩","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/l6fRO4wmsTK333Hvijo1ag==/109951163757016267.jpg","canDislike":true,"trackNumberUpdateTime":1582962324575,"playCount":2072344,"trackCount":34,"highQuality":false,"alg":"cityLevel_A"},{"id":2365776318,"type":0,"name":"【翻唱】男声 杂食.略尽千帆你最温柔","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/vFSyTM5uLj3aDmWlwPGuQw==/109951163937454559.jpg","canDislike":true,"trackNumberUpdateTime":1583378968607,"playCount":406168,"trackCount":191,"highQuality":false,"alg":"cityLevel_A"},{"id":2790119365,"type":0,"name":"Cover集(那些开口就惊艳的翻唱）","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/SyOISKKFQVQKcpTfn7TDeQ==/109951164203396142.jpg","canDislike":true,"trackNumberUpdateTime":1583415544264,"playCount":18140756,"trackCount":266,"highQuality":false,"alg":"cityLevel_A"},{"id":2163003993,"type":0,"name":"Like 属于你的神仙歌单丨超好听循环播放","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/49m1Rc_5yt0iLGOkDL01lA==/109951164505868188.jpg","canDislike":true,"trackNumberUpdateTime":1582742595725,"playCount":5461125,"trackCount":268,"highQuality":false,"alg":"cityLevel_A"},{"id":2998483698,"type":0,"name":"压箱私藏 | 那些躲在角落里的小众音乐","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/CY-RRAFYrYQ9yotmK7icKg==/109951164384399731.jpg","canDislike":true,"trackNumberUpdateTime":1582514627026,"playCount":8135212,"trackCount":33,"highQuality":false,"alg":"cityLevel_A"},{"id":2602222983,"type":0,"name":"精选 | 网络热歌分享","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/zGzNJcfLZfLW7E0bkI0opg==/109951163815887214.jpg","canDislike":true,"trackNumberUpdateTime":1582791188043,"playCount":360580992,"trackCount":82,"highQuality":false,"alg":"cityLevel_A"},{"id":967260532,"type":0,"name":"我知道你很累 但请你一定要加油鸭！ \u200b","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/N_zpp5UmeWEtqNJDKCLTLA==/109951163862128684.jpg","canDislike":true,"trackNumberUpdateTime":1555343870643,"playCount":10206086,"trackCount":44,"highQuality":false,"alg":"cityLevel_A"},{"id":2666421704,"type":0,"name":"在可爱的郊外电车沿线 除了春天闲人免入","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/WFXTxbDqOlQOk4TJbSZdpw==/109951163951306762.jpg","canDislike":true,"trackNumberUpdateTime":1583079256386,"playCount":6731958,"trackCount":82,"highQuality":false,"alg":"cityLevel_A"},{"id":2447521196,"type":0,"name":"甜蜜暴击100%：我想和你谈一场不分手的恋爱","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/jEMaQ7aJvbC5oDt4IZx3NA==/109951163580860766.jpg","canDislike":true,"trackNumberUpdateTime":1550051527132,"playCount":5855099,"trackCount":37,"highQuality":false,"alg":"cityLevel_A"},{"id":2181287762,"type":0,"name":"后来，我们什么都有了，却没有了我们","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/IdSPSrD9k_Y86N_qFFwiSw==/109951163252847589.jpg","canDislike":true,"trackNumberUpdateTime":1573524357901,"playCount":9751657,"trackCount":50,"highQuality":false,"alg":"cityLevel_A"},{"id":979321026,"type":0,"name":"好听到单曲循环","copywriter":"热门推荐","picUrl":"https://p2.music.126.net/1gNcBmzdIaQtU00Dvp_TvQ==/109951163912081772.jpg","canDislike":true,"trackNumberUpdateTime":1583152642047,"playCount":141802176,"trackCount":186,"highQuality":false,"alg":"cityLevel_A"}]
     */

    private boolean hasTaste;
    private int code;
    private int category;
    private List<ResultBean> result;

    public boolean isHasTaste() {
        return hasTaste;
    }

    public void setHasTaste(boolean hasTaste) {
        this.hasTaste = hasTaste;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean implements MultiItemEntity {
        /**
         * id : 2954167665
         * type : 0
         * name : 恋恋影像册丨怦然心动的恋语哼唱
         * copywriter : 编辑推荐：偶尔一点小浪漫、小感动，就心满意足吧~
         * picUrl : https://p1.music.126.net/sgtO7Rw6QYbxCFQYRjSgBQ==/109951164554615049.jpg
         * canDislike : false
         * trackNumberUpdateTime : 1566707520873
         * playCount : 608049
         * trackCount : 37
         * highQuality : false
         * alg : featured
         */

        private long id;
        private int type;
        private String name;
        private String copywriter;
        private String picUrl;
        private boolean canDislike;
        private long trackNumberUpdateTime;
        private int playCount;
        private int trackCount;
        private boolean highQuality;
        private String alg;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCopywriter() {
            return copywriter;
        }

        public void setCopywriter(String copywriter) {
            this.copywriter = copywriter;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public boolean isCanDislike() {
            return canDislike;
        }

        public void setCanDislike(boolean canDislike) {
            this.canDislike = canDislike;
        }

        public long getTrackNumberUpdateTime() {
            return trackNumberUpdateTime;
        }

        public void setTrackNumberUpdateTime(long trackNumberUpdateTime) {
            this.trackNumberUpdateTime = trackNumberUpdateTime;
        }

        public int getPlayCount() {
            return playCount;
        }

        public void setPlayCount(int playCount) {
            this.playCount = playCount;
        }

        public int getTrackCount() {
            return trackCount;
        }

        public void setTrackCount(int trackCount) {
            this.trackCount = trackCount;
        }

        public boolean isHighQuality() {
            return highQuality;
        }

        public void setHighQuality(boolean highQuality) {
            this.highQuality = highQuality;
        }

        public String getAlg() {
            return alg;
        }

        public void setAlg(String alg) {
            this.alg = alg;
        }

        @Override
        public int getItemType() {
            return SongListFragmentAdapter.RECOMMEND_SONG_LIST;
        }

        @Override
        public String toString() {
            return "ResultBean{" +
                    "id=" + id +
                    ", type=" + type +
                    ", name='" + name + '\'' +
                    ", copywriter='" + copywriter + '\'' +
                    ", picUrl='" + picUrl + '\'' +
                    ", canDislike=" + canDislike +
                    ", trackNumberUpdateTime=" + trackNumberUpdateTime +
                    ", playCount=" + playCount +
                    ", trackCount=" + trackCount +
                    ", highQuality=" + highQuality +
                    ", alg='" + alg + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "RecommendEntity{" +
                "hasTaste=" + hasTaste +
                ", code=" + code +
                ", category=" + category +
                ", result=" + result +
                '}';
    }
}
